package org.lovo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author chenDong
 * @since 2021-09-29
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class SysUser extends Model {

    private static final long serialVersionUID = 1L;

    @TableId(value = "userId", type = IdType.AUTO)
    private Long userId;

    @TableField("className")
    private String className;

    @TableField("headerImg")
    private String headerImg;

    @TableField("loginName")
    private String loginName;

    private String password;

    private Integer power;

    @TableField("userName")
    private String userName;

    private Integer score;

    private String communicate;

    private String composite;

    private String science;


    @Override
    protected Serializable pkVal() {
        return null;
    }
}
